package com.cssy.xxkj.logic.service;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import org.springframework.transaction.annotation.Transactional;

import com.cssy.base.service.IBaseService;
import com.cssy.xxkj.logic.entity.LogicProductionDispatchingDO;
import com.cssy.xxkj.logic.entity.LogicProductionDispatchingDetailDO;
import com.cssy.xxkj.logic.entity.LogicProductionDispatchingDetailItemDO;
import com.cssy.xxkj.logic.entity.LogicProductionDispatchingItemDO;
import com.plat.exception.SyBaseException;

public interface ILogicProdDispatchingDetailService extends IBaseService<LogicProductionDispatchingDetailDO>{
	
	@Transactional
	public void detailSave(HttpServletRequest request, LogicProductionDispatchingDetailDO curAP)throws SyBaseException;

	@Transactional
	public List<LogicProductionDispatchingDetailItemDO> findItemListByMap(Map<String, Object> paramMap)throws SyBaseException;
	
	@Transactional
	public LogicProductionDispatchingDetailDO dispatchingDetailSave(
			LogicProductionDispatchingDO patchingEntity,HttpServletRequest request) throws SyBaseException;
	@Transactional
	public void dispatchingDetailItemSave(LogicProductionDispatchingDetailDO detailEntity,
			LogicProductionDispatchingItemDO patchingItem, BigDecimal theQuantity) throws SyBaseException;
	
	@Transactional
	public Map<String, BigDecimal> findQueryDetailHasToMap(Map<String, Object> paramMap)throws SyBaseException;
}
